#include<stdio.h>
int main(){
    double a,b,sum;
    char c;
    while(~scanf("%lf%c%lf",&a,&c,&b)){
        if(c=='+') sum=a+b;
        if(c=='-') sum=a-b;
        if(c=='*') sum=a*b;
        if(c=='/') sum=a/b;
        if(b!=0.0 && (c=='+'||c=='-'||c=='*'||c=='/'))
            printf("%.4lf%c%.4lf=%.4f\n",a,c,b,sum);
        if(b==0.0 ) printf("Wrong!Division by zero!\n");
        else if(c!='+' && c!='-' && c!='*' && c!='/')
            printf("Invalid operation!\n");
    }
    return 0;
}
